
const ChildComponent = (props) => {
    return (
        <div>
            <h2>Child Component</h2>

            <p>props.text = {props.text}</p>

        </div>

    );
};

export default ChildComponent;